package com.xuecheng.order.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("xc_orders.xc_pay_record")
public class PayRecord implements Serializable {
    private Long id;

    private Long payNo;

    private String outPayNo;

    private String outPayChannel;

    private Long orderId;

    private String orderName;

    private Float totalPrice;

    private String currency;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    private String status;

    private LocalDateTime paySuccessTime;

    private Long userId;
}
